import {ElSwitch} from 'element-plus'
import {AbstractComponent} from "/@/components/Base/BaseEditTable/component/AbstractComponent";

export class Switch extends AbstractComponent {
    private value


    public setProperties(value,obj) {
        this.value = value
    }

    public getComponent() {
        return ElSwitch
    }

    public formatLabel(): string {
        return this.value ? this.value : ''
    }

    public whetherFormat(): boolean {
        return false;
    }

    public  getFocus(vRef): void {
    }
}